package com.naiterui.ehp.bs.cms.modules.recommend.entity;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("recom_audit_log")
public class RecomAuditLog extends BaseEntity implements Serializable {

    /**
     * 审核状态-待审核
     */
    public static final Integer AUDIT_STATUS_PENDING = 0;
    /**
     * 审核状态-通过
     */
    public static final Integer AUDIT_STATUS_PASS = 1;
    /**
     * 审核状态-不通过
     */
    public static final Integer AUDIT_STATUS_REJECT = 2;
    private static final long serialVersionUID = -4634759710202027911L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 处方ID
     */
    private Long recomId;

    /**
     * 处方编号
     */
    private String serialNumber;

    /**
     * 医生ID
     */
    private Long doctorId;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 患者ID
     */
    private Long patientId;

    /**
     * 患者姓名
     */
    private String patientName;

    /**
     * 初审状态(0:待审核,1:通过,2:不通过)
     */
    private Integer preAuditStatus;

    /**
     * 初审时间
     */
    private Date preAuditTime;

    /**
     * 初审人
     */
    private String prePharmacistName;

    /**
     * 审核状态(0:待审核,1:通过,2:不通过)
     */
    private Integer status;

    /**
     * 审核类型(1:系统,2:人工)
     */
    private Integer auditType;

    /**
     * 审核备注
     */
    private String remark;

    private String pharmacistName;


}
